import request from '@/utils/request'

// 设备种类
export const apiGetDeviceClass = (data) => {
    return request({
        url: '/dst-business-handle/find/page',
        method: 'post',
        data
    })
}

// 检测设备信息-分页查询
export const apiGetDeviceList = (data) => {
    return request({
        url: '/mdm-product-equipment/find/page',
        method: 'post',
        data
    })
}


// 检测设备信息-详情
export const apiGetDeviceDetails = (id) => {
    return request({
        url: '/mdm-product-equipment/get',
        method: 'post',
        data: { id }
    })
}
// 设备种类下拉框
export const GetDeviceClassList = (data) => {
    return request({
        url: '/select/condition/find/list/class',
        method: 'post',
        data
    })
}
// 设备类别下拉框
export const GetDeviceCategoryList = (data) => {
    return request({
        url: '/select/condition/find/list/category',
        method: 'post',
        data
    })
}
// 设备类别下拉框
export const GetDeviceVarietyList = (data) => {
    return request({
        url: 'select/condition/find/list/variety',
        method: 'post',
        data
    })
}


// 检测设备信息-编辑
export const apiGetDeviceUpdate = (data) => {
    return request({
        url: '/mdm-product-equipment/update',
        method: 'post',
        data
    })
}



// 检测仪器列表
export const apiGetInstrumentationList = (data) => {
    return request({
        url: '/mdm-instrumentation/find/page',
        method: 'post',
        data
    })
}
